﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using PoemGame.Management.Domain;

namespace PoemGame.Management.Repository
{
    internal class GameEntityTypeConfiguration : IEntityTypeConfiguration<Game>
    {
        public void Configure(EntityTypeBuilder<Game> builder)
        {
            builder.ToTable("GameManagement");
            builder.HasKey(o => o.Id);
        }
    }
}
